package com.qinglei.recoup.longconn.utils;

import com.aliyun.oss.model.PutObjectRequest;
import com.aliyun.oss.model.PutObjectResult;
import com.qinglei.recoup.common.utils.JsonUtils;

import java.io.File;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

public class TestCase {
    private static Executor uploadExecutor = Executors.newFixedThreadPool(2);
    public static void main(String[] args) {

        CompletableFuture.runAsync(() -> {
            try {
              System.out.println(1111);
            } catch (Exception e) {

            }
        }, uploadExecutor);
    }
}
